package com.zapi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author zhonglz
 * @version 1.0
 * @date 2025年5月22日16:13:55
 */
@MapperScan({"com.zapi.*.mapper"})
@SpringBootApplication
public class DataSourceApplication extends SpringBootServletInitializer{

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(DataSourceApplication.class);
        springApplication.run(args);
        System.out.println("lottery启动完成");

    }
}
